﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QL_DTTN.DTO.DTO
{
  public partial  class DiemCong :DtoClass
    {
      public DiemCong()
      { _tableName = "DiemCong";
      _keyField = "Ma" + _tableName;
      }
      public DiemCong(Int16 maDiemCong,string tenDiemCong,Int16 loai,double diem)
      {
          _tableName = "DiemCong";
          _keyField = "Ma" + _tableName;
          this.MaDiemCong = maDiemCong;
          this.TenDiemCong = tenDiemCong;
          this.Loai = loai;
          this.Diem = diem;

        }
        private Int16 _maDiemCong = 0;

        public Int16 MaDiemCong
        {
            get { return _maDiemCong; }
            set { _maDiemCong = value; }
        }
      private string _tenDiemCong = "";

      public string TenDiemCong
      {
          get { return _tenDiemCong; }
          set { _tenDiemCong = value; }
      }
      private Int16 _Loai = 0;

      public Int16 Loai
      {
          get { return _Loai; }
          set { _Loai = value; }
      }
      private double _Diem = 0.0;

      public double Diem
      {
          get { return _Diem; }
          set { _Diem = value; }
      }
  }
}
